package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-06-01
 * Time: 21:56
 */
public class Test1 {
    public static void func(){
        int[] array = null;
        try{
            System.out.println(array[0]);
        }catch(NullPointerException e){
            throw new NullPointerException();
        }
    }
    public static void main(String[] args) {

    }
}
